package cn.Test01.service.impl;

import cn.Test01.entity.City;
import cn.Test01.entity.Province;
import cn.Test01.mapper.Liaomapper;
import cn.Test01.service.IliaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LiaoService implements IliaoService {
    @Autowired
    private Liaomapper liaomapper;
    @Override
    public List<Province> findAllProvinces() {
        System.out.println("8888");
        return liaomapper.findAllProvinces();
    }

    @Override
    public List<City> finCityByPid(String Pid) {
        return liaomapper.finCityByPid(Pid);
    }
}
